package com.smart.five.ioc.bean.relyon;

import java.util.Timer;

/**
 * 缓存刷新管理器
 *
 * @author junrui.wang
 * @create 2018/6/11
 */
public class CacheManager {
    public CacheManager(){
        //需要根据配置值创建刷新任务
        Timer timer = new Timer();
        CacheTask cacheTask = new CacheTask();
        timer.schedule(cacheTask, 0, SystemSettings.REFRESH_CYCLE);
    }
}
